package cn.prophet.service;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import cn.prophet.bean.BjksRecord;
import cn.prophet.bean.GameOrder;

public interface BjKRecordService {
    int addRecord(String num,Date date,byte recordType,byte gameCategory);
    List<BjksRecord> getBjksRecord(Byte gameCategory);
    void getBjGovList();
    void getNxGovList();
    void getJsGovList();
    int bettingGame(Byte gameCategory, Long userId, Byte gameType, String gameResult, String recordId, Byte buyNum, Short multiple, BigDecimal singleAmount, BigDecimal bettingAmount, BigDecimal winningAmount);
    List<GameOrder> getGameOrder(Long userId,Byte showType,Byte game_category);

    void dealGameResult(String openCode,String num,byte gameCategory);
    long getUnraadNum(Long userId);
    List<GameOrder> getMailBox(Long userId);
    int chaseNumber(Long userId,Long gameId,Integer chaseCount,Short multiple,Integer period,Integer beiNum,BigDecimal money,Byte isStop,Byte gameCategory,Byte gameType,String gameResult,Byte buy_num,BigDecimal single_amount,BigDecimal winningAmount);
    void refundChase(GameOrder gameOrder);

    List<BjksRecord> getRecordByDate(Byte gameGategory,String date);
    void gameAwardDeql(long userId,BigDecimal balance);
}
